package com.liudada.cloud.service;

import org.apache.ibatis.annotations.Param;

/**
 * @author liushuntao
 * @date 2024/4/26
 */
public interface AccountService {

    /**
     * 扣减账户余额
     * @param userId 用户id
     * @param money 本次消费金额
     */
    void decrease(Long userId, Long money);
}


